/**
 *
 *
 * @export
 * @class MatrixStateExpr
 */
export class MatrixStateExpr {

  /**
   * Creates an instance of MatrixStateExpr
   * @param {number} logicGroupId 型号ID
   * @param {number} stateId 状态ID
   * @param {string} expression 状态表达式
   * @param {string} [stateName] 状态名称
   * @param {string} [stateColor] 状态颜色
   * @param {string} [result] 验证结果
   * @memberof MatrixStateExpr
   */
  constructor(
    public logicGroupId: number,
    public stateId: number,
    public expression: string,
    public stateName: string,
    public stateColor?: string,
    public logicId?: number,
    public result?: boolean
  ) {
    Object.defineProperty(this, 'result', {enumerable: false});
    Object.defineProperty(this, 'stateColor', {enumerable: false});
  }
}
